import { createApp } from 'vue'
import "./style.css"
import App from './App.vue'
import './samples/node-api'
import contextmenu from "v-contextmenu";
import "v-contextmenu/dist/themes/default.css";
import { store } from "./stores";
import router from "./router";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
const app = createApp(App);
app.use(ElementPlus, {
    locale: zhCn,
  });
app.use(router); //初始化路由
app.use(store); 
app.use(contextmenu)
app.mount('#app');